org.omg.CORBA

Class _PolicyStub

public class _PolicyStub extends ObjectImpl implements Policy, Serializable

The Policy stub (proxy), used on the client side. The {@link Policy} methods contain the code for remote invocaton.
Constructor Summary
_PolicyStub()
Create the Policy stub.
_PolicyStub(Delegate delegate)
Create the naming context stub with the given delegate.
Method Summary
Policycopy()
{@inheritDoc}
voiddestroy()
{@inheritDoc}
intpolicy_type()
{@inheritDoc}
String[]_ids()
Return the array of repository ids for this object.

Constructor Detail

_PolicyStub

public _PolicyStub()
Create the Policy stub. To get the stub working, you must later set the delegate with {@link ObjectImpl#_set_delegate(Delegate)}.

_PolicyStub

public _PolicyStub(Delegate delegate)
Create the naming context stub with the given delegate.

Method Detail

copy

public Policy copy()
{@inheritDoc}

destroy

public void destroy()
{@inheritDoc}

policy_type

public int policy_type()
{@inheritDoc}

_ids

public String[] _ids()
Return the array of repository ids for this object.