Метод | Описание | |
---|---|---|
getAppBase ( ) : string | Returns the absolute path to the application directory. | |
getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface | AppserverIo\Psr\Naming\NamingDirectoryInterface | Returns the application instance. | |
getAttribute ( string $key ) : mixed | null | Returns the attribute with the passed key from the container. | |
getBaseDirectory ( string $directoryToAppend = null ) : string | Returns the absolute path to the application server's base directory. | |
getInitialContext ( ) : AppserverIo\Psr\Naming\InitialContext | Returns the global naming directory. | |
getManagerConfiguration ( ) : AppserverIo\Psr\Application\ManagerConfigurationInterface | Return's the manager configuration. | |
getReflectionClass ( string $className ) : AppserverIo\Lang\Reflection\ReflectionClass | Returns a reflection class intance for the passed class name. | |
getReflectionClassForObject ( object $instance ) : AppserverIo\Lang\Reflection\ReflectionClass | Returns a reflection class intance for the passed class name. | |
getWebappPath ( ) : string | Returns the absolute path to the web application. | |
injectApplication ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void | Inject the application instance. | |
injectData ( AppserverIo\Storage\StorageInterface $data ) : void | Inject the data storage. | |
injectInitialContext ( AppserverIo\Psr\Naming\InitialContext $initialContext ) : void | The global naming directory. | |
injectManagerConfiguration ( AppserverIo\Psr\Application\ManagerConfigurationInterface $managerConfiguration ) : void | Inject the configuration for this manager. | |
lookupProxy ( string $lookupName, string $sessionId = null ) : AppserverIo\RemoteMethodInvocation\RemoteObjectInterface | This returns a proxy to the requested session bean. | |
newInstance ( string $className, string | null $sessionId = null, array $args = [] ) : object | Returns a new instance of the passed class name. | |
newReflectionClass ( string $className ) : AppserverIo\Lang\Reflection\ReflectionClass | Returns a new reflection class intance for the passed class name. | |
setAttribute ( string $key, object $value ) : void | Registers the value with the passed key in the container. | |
stop ( ) : void | A dummy functionality to implement the stop functionality. |
public getAppBase ( ) : string | ||
Результат | string | The absolute path to the application directory |
public getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface | AppserverIo\Psr\Naming\NamingDirectoryInterface | ||
Результат | AppserverIo\Psr\Application\ApplicationInterface | AppserverIo\Psr\Naming\NamingDirectoryInterface | The application instance |
public getBaseDirectory ( string $directoryToAppend = null ) : string | ||
$directoryToAppend | string | A directory to append to the base directory |
Результат | string | The absolute path the application server's base directory |
public getInitialContext ( ) : AppserverIo\Psr\Naming\InitialContext | ||
Результат | AppserverIo\Psr\Naming\InitialContext | The global naming directory |
public getManagerConfiguration ( ) : AppserverIo\Psr\Application\ManagerConfigurationInterface | ||
Результат | AppserverIo\Psr\Application\ManagerConfigurationInterface | The manager configuration |
public getReflectionClass ( string $className ) : AppserverIo\Lang\Reflection\ReflectionClass | ||
$className | string | The class name to return the reflection class instance for |
Результат | AppserverIo\Lang\Reflection\ReflectionClass | The reflection instance |
public getReflectionClassForObject ( object $instance ) : AppserverIo\Lang\Reflection\ReflectionClass | ||
$instance | object | The instance to return the reflection class instance for |
Результат | AppserverIo\Lang\Reflection\ReflectionClass | The reflection instance |
public getWebappPath ( ) : string | ||
Результат | string | The absolute path |
public injectApplication ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void | ||
$application | AppserverIo\Psr\Application\ApplicationInterface | The application instance |
Результат | void |
public injectData ( AppserverIo\Storage\StorageInterface $data ) : void | ||
$data | AppserverIo\Storage\StorageInterface | The data storage to use |
Результат | void |
public injectInitialContext ( AppserverIo\Psr\Naming\InitialContext $initialContext ) : void | ||
$initialContext | AppserverIo\Psr\Naming\InitialContext | The global naming directory |
Результат | void |
public injectManagerConfiguration ( AppserverIo\Psr\Application\ManagerConfigurationInterface $managerConfiguration ) : void | ||
$managerConfiguration | AppserverIo\Psr\Application\ManagerConfigurationInterface | The managers configuration |
Результат | void |
public lookupProxy ( string $lookupName, string $sessionId = null ) : AppserverIo\RemoteMethodInvocation\RemoteObjectInterface | ||
$lookupName | string | The lookup name for the requested session bean |
$sessionId | string | The session-ID if available |
Результат | AppserverIo\RemoteMethodInvocation\RemoteObjectInterface | The proxy instance |
public newInstance ( string $className, string | null $sessionId = null, array $args = [] ) : object | ||
$className | string | The fully qualified class name to return the instance for |
$sessionId | string | null | The session-ID, necessary to inject stateful session beans (SFBs) |
$args | array | Arguments to pass to the constructor of the instance |
Результат | object | The instance itself |
public newReflectionClass ( string $className ) : AppserverIo\Lang\Reflection\ReflectionClass | ||
$className | string | The class name to return the reflection class instance for |
Результат | AppserverIo\Lang\Reflection\ReflectionClass | The reflection instance |